package com.demo.page.feign.user;

import com.demo.common.entity.User;
import com.demo.page.feign.impl.user.UserFeignImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
/**
 * 用户
 * 作者：张佑威
 */
@FeignClient(name = "houpu-service-bean",fallback = UserFeignImpl.class)
public interface UserFeign {
    /**
     * 查询所有商品
     * @return
     */
    @RequestMapping("/User/selectAll")
    public List<User> selectAll();


}
